package com.dhcc.bpm.modules.metadata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.metadata.entity.ReqMetadata;
import com.dhcc.bpm.modules.metadata.vo.ReqMetadataVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ReqMetadataMapper
 * @Description 请求元数据关联表 Mapper 接口
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface ReqMetadataMapper extends BaseMapper<ReqMetadata> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param reqMetadata
	 * @return
	 */
	List<ReqMetadataVO> selectReqMetadataPage(IPage page, ReqMetadataVO reqMetadata);
	/**
	 * 删除
	 * @Author daina
	 * @Date 17:42 2020/2/21
	 * @param opcApiIdReq
	 * @param toLongArray
	 * @return int
	 **/
	int deleteReqMetadata(Long opcApiIdReq,@Param("ids") Long[] toLongArray);

}
